#include<iostream>

class Add
{
public:
    Add()
    {
        a++;
        i = i + a;
    }
public:
    static int a;
    static int i;
};
int Add::a = 0;
int Add::i = 0;

class Solution {
public:
    int Sum_Solution(int n) {
        Add* add=new Add[n];
        return Add::i;

    }
};
int main()
{
    std::cout << Solution().Sum_Solution(100);
}